﻿@using GameSchool.HtmlHelpers
@model GameSchool.Models.ExamModels.ExamQuestionModel
<div class="question">
    <div style="height: 2px; background-color: #EEE; text-align: center; margin-bottom: 15px;
        margin-top: 15px;">
        <span style="background-color: white; position: relative; top: -0.7em;"><strong>Spurning</strong>
        </span>
    </div>
    <input type="hidden" name="exam.ExamQuestions.Index" value="@Model.ExamQuestionNo" />
    <div class="control-group">
        @Html.LabelFor(examQuestion => examQuestion.ExamQuestion, new { @class = "control-label" }, "Spurning")
        <div class="controls">
            <p class="help-block exam-question">@Model.ExamQuestion</p>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">
            Svar 1
            @Html.RadioButton("exam.ExamQuestions[" + Model.ExamQuestionNo + "].CorrectAnswerIsNo", 1, (Model.AnsweredId == Model.ExamQuestionAnswerId1), new { disabled = "disabled" })
        </label>
        <div class="controls">
            <p class="help-block">@Model.ExamQuestionAnswer1</p>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">
            Svar 2
            @Html.RadioButton("exam.ExamQuestions[" + Model.ExamQuestionNo + "].CorrectAnswerIsNo", 2, (Model.AnsweredId == Model.ExamQuestionAnswerId2), new { disabled = "disabled" })
        </label>
        <div class="controls">
            <p class="help-block">@Model.ExamQuestionAnswer2</p>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">
            Svar 3
            @Html.RadioButton("exam.ExamQuestions[" + Model.ExamQuestionNo + "].CorrectAnswerIsNo", 3, (Model.AnsweredId == Model.ExamQuestionAnswerId3), new { disabled = "disabled" })
        </label>
        <div class="controls">
            <p class="help-block">@Model.ExamQuestionAnswer3</p>
        </div>
    </div>
    <div class="control-group">
        <label class="control-label">
            Svar 4
            @Html.RadioButton("exam.ExamQuestions[" + Model.ExamQuestionNo + "].CorrectAnswerIsNo", 4, (Model.AnsweredId == Model.ExamQuestionAnswerId4), new { disabled = "disabled" })
        </label>
        <div class="controls">
            <p class="help-block">@Model.ExamQuestionAnswer4</p>
        </div>
    </div>
</div>
